package com.kt.delivery.service;

import com.kt.delivery.domain.R;
import com.kt.delivery.domain.vo.WxOrderVo;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface OrderService {

    /**
     * @Description: 小程序下单
     * @Param: [userId, orders]
     * @return: java.lang.Object
     * @Author: XQD
     * @Date:2022/8/13 18:48
     */
//    public String submitOrder() throws Exception;


    Map<String,Object> createOrder(List<WxOrderVo> wxOrderVo);


    public String payNotify(HttpServletRequest request) throws IOException;


    /**
     * 充值金币
     * @return
     */
    Map<String,Object> updateMoney(int jm , int money);


    public String payNotifyJm(HttpServletRequest request)throws IOException;
}
